package com.chinda.modules.job.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.chinda.common.page.RPage;
import com.chinda.modules.job.dao.ScheduleJobLogDao;
import com.chinda.modules.job.entity.ScheduleJobLogEntity;
import com.chinda.modules.job.qo.ScheduleJobLogQO;
import com.chinda.modules.job.service.ScheduleJobLogService;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;


/**
 * 定时任务日志
 *
 * @author chinda
 * @date 2021-07-09 19:09:10
 */
@Service("scheduleJobLogService")
@Transactional(readOnly = true, rollbackFor = Exception.class)
public class ScheduleJobLogServiceImpl extends ServiceImpl<ScheduleJobLogDao, ScheduleJobLogEntity> implements ScheduleJobLogService {

    /**
     * 获取分页信息
     *
     * @param qo
     * @return
     */
    @Override
    public RPage page(ScheduleJobLogQO qo) {
        return new RPage(page(qo.getPage(), qo.getQueryWrapper()));
    }

}